package com.srxz.mobilepharmacy.mapper.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.srxz.mobilepharmacy.entity.UserInfoPK;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

@JsonInclude(value = JsonInclude.Include.NON_NULL)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoDTO implements Serializable {
    private UserInfoPK id;
    private Integer code;
    private String pwd;
    private String grp;
    private String pw;
    private Boolean dis;
    private Boolean apwd;
    private Boolean mpwd;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date dt;
    private String role;
    private String sk;
    private Integer prg;
    private Integer ip;
    private String pm_ID;
    private String pm_PW;
    private String miCode;
}
